package com.cashbook.mapper;

import com.cashbook.pojo.TbType;
import com.cashbook.pojo.TbTypeExample;
import com.cashbook.pojo.TbTypeWithBLOBs;
import java.util.List;
import org.apache.ibatis.annotations.Param;

public interface TbTypeMapper {
    int countByExample(TbTypeExample example);

    int deleteByExample(TbTypeExample example);

    int deleteByPrimaryKey(Long id);

    int insert(TbTypeWithBLOBs record);

    int insertSelective(TbTypeWithBLOBs record);

    List<TbTypeWithBLOBs> selectByExampleWithBLOBs(TbTypeExample example);

    List<TbType> selectByExample(TbTypeExample example);

    TbTypeWithBLOBs selectByPrimaryKey(Long id);

    int updateByExampleSelective(@Param("record") TbTypeWithBLOBs record, @Param("example") TbTypeExample example);

    int updateByExampleWithBLOBs(@Param("record") TbTypeWithBLOBs record, @Param("example") TbTypeExample example);

    int updateByExample(@Param("record") TbType record, @Param("example") TbTypeExample example);

    int updateByPrimaryKeySelective(TbTypeWithBLOBs record);

    int updateByPrimaryKeyWithBLOBs(TbTypeWithBLOBs record);

    int updateByPrimaryKey(TbType record);
}